#include <Rectangle.h>

Rectangle::Rectangle(int length, int width)
{
	r_length = length;
	r_width = width;
}


int  Rectangle::calcArea() const
{
	return (r_length * r_width);
}

int  Rectangle::calcPerimeter() const
{
	return (r_length + r_width)*2;
}

int  Rectangle::setRectangleLength(int newlength)
{
        r_length = newlength;
}

int  Rectangle::setRectangleWidth(int newwidth)
{
        r_width = newwidth;
}


